home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / python-pyorbit / examples / c-inproc / Makefile.am < prev    next >
Encoding:
Makefile  |  2008-05-01  |  858 b   |  34 lines

  1.  
  2. INCLUDES = -I$(top_srcdir)/src $(PYORBIT_CFLAGS) $(PYTHON_INCLUDES)
  3. BUILT_SOURCES = $(idlgen_sources)
  4.  
  5. idlgen_sources = \
  6.   testcall.h \
  7.   testcall-skels.c \
  8.   testcall-stubs.c \
  9.   testcall-common.c \
  10.   testcall-imodule.c
  11.  
  12. $(idlgen_sources): testcall.idl
  13.     orbit-idl-2 --add-imodule $<
  14.  
  15. noinst_LTLIBRARIES = TestCall_module.la cTestCall.la
  16.  
  17. TestCall_module_la_LDFLAGS = -export-dynamic -module -avoid-version -rpath `pwd`
  18. TestCall_module_la_LIBADD = $(PYORBIT_LIBS)
  19. TestCall_module_la_SOURCES = testcall-imodule.c
  20.  
  21. cTestCall_la_LDFLAGS = -export-dynamic -module -avoid-version -rpath `pwd`
  22. cTestCall_la_LIBADD = $(PYORBIT_LIBS)
  23. cTestCall_la_SOURCES = \
  24.   c-impl.c \
  25.   testcall-common.c \
  26.   testcall-stubs.c \
  27.   testcall-skels.c
  28.  
  29. EXTRA_DIST = testcall.idl test-c-inproc.py
  30.  
  31. CLEANFILES = $(idlgen_sources)
  32. dist-hook:
  33.     -cd $(distdir) && rm -f $(idlgen_sources)
  34.